//
//  UIBarButtonItem+YWFastExtension.h
//  yuwei
//
//  Created by slz on 16/11/25.
//  Copyright © 2016年 youyuwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (YWFastExtension)
+ (instancetype)itemWithImage:(NSString *)image
                  selectImage:(NSString *)selecetImage
                    addTarget:(id)target
                    andAction:(SEL)sel;

+ (instancetype)itemWIthTitle:(NSString *)title
                    addTarget:(id)target
                    andAction:(SEL)sel;

+ (instancetype)itemWIthTitle:(NSString *)title
                    addTarget:(id)target
                       action:(SEL)sel
       andTitleTextAttributes:(NSDictionary *)titleTextAttributes;
@end
